import React from 'react'
import LayoutIndex from '@/Layout/index';
import ProtectedRoute from '@/componment/ProtectedRoute/ProtectedRoute'
import LazyLoad from '@/router/utils/lazyLoad';

const Index = [
  {
    element:<LayoutIndex/>,
    children:[
      {
        path:'/sys/index',
        element:(
          <ProtectedRoute 
            element={LazyLoad(React.lazy(() => import('@/pages/Index/index')))}
          />
        )
      }
    ]
  }
]

export default Index;